Q3AttributeSet_Inherit
You can use theQ3AttributeSet_Inherit
function to configure an attribute set so that it contains all the attributes of a child set together with all the attributes inherited from a parent set.
TQ3Status Q3AttributeSet_Inherit ( TQ3AttributeSet parent, TQ3AttributeSet child, TQ3AttributeSet result);
parent
- An attribute set.
child
- An attribute set.
result
- On entry, an attribute set. On exit, an attribute set that contains all the attributes in the specified child set together with all the attributes inherited from the specified parent set.
DESCRIPTION
TheQ3AttributeSet_Inherit
function returns, in theresult
parameter, an attribute set that merges attributes from the attribute sets specified by thechild
andparent
parameters. The resulting set contains all the attributes in the child set together with all those in the parent set having an attribute type that is not contained in the child attribute set.If the specified child and parent attribute sets contain any custom attribute types,
Q3AttributeSet_Inherit
uses the custom type'skQ3MethodTypeAttributeCopyInherit
custom method. See the chapter "QuickDraw 3D Objects" for complete information on custom element types.